import React from 'react'
import { View, Text } from 'react-native'
import IconMap from '../../soures/fonts/icon'
export default function index(props) {
    return (
        <View>
            <Text style={{fontFamily:'iconfont',...props.style}}>{IconMap[props.name]}</Text>
        </View>
    )
}
